package cn.learn.service.company.impl;

import cn.learn.dao.company.CompanyDao;
import cn.learn.domain.company.Company;
import cn.learn.service.company.CompanyService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class CompanyServiceImpl implements CompanyService {

    @Autowired
    private CompanyDao companyDao;

    @Override
    public void save(Company company) {
        companyDao.addOne(company);
    }

}
